package com.project.service;

import com.project.pojo.User;

import java.util.List;

public interface UserService {
    int addUser(User user);

    int deleteUserById(int id);

    int updateUser(User user);

    User queryUserById(int id);

    List<User> queryAllUser();

    List<User> queryUserName(String name);
}
